#include <stdio.h>
#include <gtk/gtk.h>
#include "pages/index.h"
#include "components/action_btn_group.h"

int main(int argc, char **argv)
{
    gtk_init();

    g_type_ensure(COMPONENT_TYPE_ACTION_BTN_GROUP);

    setenv("GTK_A11Y", "none", 1);
    gtk_window_set_default_icon_name("com.qq.weixin.deepin");
    GtkApplication *app = gtk_application_new("com.example.GtkApplication", G_APPLICATION_DEFAULT_FLAGS);
    g_signal_connect(app, "activate", G_CALLBACK(page_index_create), NULL);
    int status = g_application_run(G_APPLICATION(app), argc, argv);
    g_object_unref(app);
    return status;
}